package com.study.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.study.model.mdao.SaleOrderMapper;
import com.study.model.pojo.SaleOrder;

@Service
@Transactional(rollbackFor = Exception.class)
public class SaleOrderServices {
	@Autowired
	SaleOrderMapper soDao;

	public List<SaleOrder> selectAll() {
		return soDao.getInfoAll();
	}

}
